/**
 * 
 */
package sailing.entity;

import cjlite.dao.support.Column;
import cjlite.dao.support.DT;
import cjlite.dao.support.Id;
import cjlite.dao.support.Table;



/**
 * 
 * Change the entity name to voucher, that avoid to confuse with CashAcount
 * 
 * @author simon
 * 
 */
@Table
public class CashVoucher {
	
	@Id
	@Column(dt = DT.CHAR, length = 20)
	private String id;
	
	@Column(dt = DT.BIGINT,autoIncrem=false)
	private long dateTime;
	
	@Column(dt = DT.CHAR, length = 10)
	private String accountCategory;
	
	@Column(dt = DT.CHAR, length = 50)
	private String accountNumber;
	
	@Column(dt = DT.CHAR, length = 2)
	private String accountBORL;
	
	@Column(dt = DT.CHAR, length = 255)
	private String accountSummary;
	
	@Column(dt = DT.CHAR, length = 50)
	private String oppositeAccount;
	
	@Column(dt = DT.CHAR, length = 10)
	private String accountKind;
	
	@Column(dt = DT.CHAR, length = 50)
	private String borrowBalance;
	
	@Column(dt = DT.CHAR, length = 50)
	private String loanAmount;
	
	@Column(dt = DT.CHAR, length = 50)
	private String accountRemainingSum;
	
	@Column(dt = DT.BIGINT,autoIncrem=false)
	private long createTime;
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getAccountCategory() {
		return accountCategory;
	}

	public void setAccountCategory(String accountCategory) {
		this.accountCategory = accountCategory;
	}

	public String getAccountNumber() {
		return accountNumber;
	}

	public void setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
	}

	public String getAccountBORL() {
		return accountBORL;
	}

	public void setAccountBORL(String accountBORL) {
		this.accountBORL = accountBORL;
	}

	public String getAccountSummary() {
		return accountSummary;
	}

	public void setAccountSummary(String accountSummary) {
		this.accountSummary = accountSummary;
	}

	public String getOppositeAccount() {
		return oppositeAccount;
	}

	public void setOppositeAccount(String oppositeAccount) {
		this.oppositeAccount = oppositeAccount;
	}

	public String getAccountKind() {
		return accountKind;
	}

	public void setAccountKind(String accountKind) {
		this.accountKind = accountKind;
	}

	public String getBorrowBalance() {
		return borrowBalance;
	}

	public void setBorrowBalance(String borrowBalance) {
		this.borrowBalance = borrowBalance;
	}

	public String getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(String loanAmount) {
		this.loanAmount = loanAmount;
	}

	public String getAccountRemainingSum() {
		return accountRemainingSum;
	}

	public void setAccountRemainingSum(String accountRemainingSum) {
		this.accountRemainingSum = accountRemainingSum;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public long getDateTime() {
		return dateTime;
	}

	public void setDateTime(long dateTime) {
		this.dateTime = dateTime;
	}

}
